package com.oristand;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * springboot的启动类,同时也是配置类
 *
 * @author shiyjian
 * @version 1.0
 * @date 2021/11/25 10:12
 */
@EnableTransactionManagement
@Configuration
@SpringBootApplication
@MapperScan("com.oristand.mapper")
public class InfoApplication {

    public static void main(String[] args) {
        SpringApplication.run(InfoApplication.class, args);
    }

}
